package com.dream.cgomall.dao;

import com.dream.cgomall.entity.CgoAdminWallet;
import org.apache.ibatis.annotations.Param;

public interface CgoAdminWalletDao {
    //注册时添加
    int insertInitByUserId(CgoAdminWallet cgoAdminWallet);
    //获取钱包信息
    CgoAdminWallet selectWalletByUserId(Integer userId);
    //用户获取红包
    int updateUserMoney(@Param("money") double money,@Param("userId") Integer userId);
}
